package com.drug.wms.domain;

import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 调货商品对象 bus_transfer_goods_info
 *
 * @author ruoyi
 * @date 2021-12-01
 */
public class BusTransferGoodsInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 调货单据id
     */
    private String tranferId;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private String goodsNo;

    /**
     * 批号
     */
    @Excel(name = "批号")
    private String batchNo;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String goodsName;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 单位名称
     */
    @Excel(name = "单位名称")
    private String unit_dictText;
    /**
     * 规格
     */
    @Excel(name = " 规格")
    private String norms;
    /**
     * 批准文号
     */
    @Excel(name = "批准文号")
    private String approvalNumber;

    /**
     * 生产厂商编号
     */
    @Excel(name = "生产厂商编号")
    private String manufacturerNo;

    /**
     * 生产厂商名称
     */
    @Excel(name = "生产厂商名称")
    private String manufacturerName;

    /**
     * 调货仓库编号
     */
    @Excel(name = "调货仓库编号")
    private String warehouseNo;

    /**
     * 生产日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /**
     * 有效期至
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long quantity;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal transferPrice;

    /**
     * 数据状态
     */
    @Excel(name = "数据状态")
    private String validityCode;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;

    public String getWarehouseNo() {
        return warehouseNo;
    }

    public void setWarehouseNo(String warehouseNo) {
        this.warehouseNo = warehouseNo;
    }

    public String getUnit_dictText() {
        return unit_dictText;
    }

    public void setUnit_dictText(String unit_dictText) {
        this.unit_dictText = unit_dictText;
    }

    public String getNorms() {
        return norms;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public String getApprovalNumber() {
        return approvalNumber;
    }

    public void setApprovalNumber(String approvalNumber) {
        this.approvalNumber = approvalNumber;
    }

    public String getManufacturerNo() {
        return manufacturerNo;
    }

    public void setManufacturerNo(String manufacturerNo) {
        this.manufacturerNo = manufacturerNo;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public Date getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(Date productionDate) {
        this.productionDate = productionDate;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTranferId(String tranferId) {
        this.tranferId = tranferId;
    }

    public String getTranferId() {
        return tranferId;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Long getQuantity() {
        return quantity;
    }

    public BigDecimal getTransferPrice() {
        return transferPrice;
    }

    public void setTransferPrice(BigDecimal transferPrice) {
        this.transferPrice = transferPrice;
    }

    public void setValidityCode(String validityCode) {
        this.validityCode = validityCode;
    }

    public String getValidityCode() {
        return validityCode;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    @Override
    public String toString() {
        return "BusTransferGoodsInfo{" +
                "id='" + id + '\'' +
                ", tranferId='" + tranferId + '\'' +
                ", goodsNo='" + goodsNo + '\'' +
                ", batchNo='" + batchNo + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", unit='" + unit + '\'' +
                ", quantity=" + quantity +
                ", validityCode='" + validityCode + '\'' +
                ", deptId=" + deptId +
                '}';
    }
}
